.PHONY:all
all:test proc 

test:test.cc 
	g++ -o $@ $^ -std=c++11
proc:proc3.c
	gcc -o $@ $^ -std=gnu99
.PHONY:clean
clean:
	rm -f test proc
